<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>chimera.controllers.imageserver.imageserverhttp</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="chimera-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://chimera.ufsc.br/">Chimera - Observatoty Automation System</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="chimera-module.html">Package&nbsp;chimera</a> ::
        <a href="chimera.controllers-module.html">Package&nbsp;controllers</a> ::
        <a href="chimera.controllers.imageserver-module.html">Package&nbsp;imageserver</a> ::
        Module&nbsp;imageserverhttp
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="chimera.controllers.imageserver.imageserverhttp-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="chimera.controllers.imageserver.imageserverhttp-module.html">Module chimera.controllers.imageserver.imageserverhttp</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">cherrypy</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">cherrypy</tt><tt class="py-op">.</tt><tt class="py-name">lib</tt><tt class="py-op">.</tt><tt class="py-name">static</tt> <tt class="py-keyword">import</tt> <tt class="py-name">serve_file</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">threading</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"> </tt>
<a name="ImageServerHTTP"></a><div id="ImageServerHTTP-def"><a name="L8"></a><tt class="py-lineno"> 8</tt> <a class="py-toggle" href="#" id="ImageServerHTTP-toggle" onclick="return toggle('ImageServerHTTP');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html">ImageServerHTTP</a><tt class="py-op">(</tt><tt class="py-base-class">threading</tt><tt class="py-op">.</tt><tt class="py-base-class">Thread</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="ImageServerHTTP-expanded"><a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"> </tt>
<a name="ImageServerHTTP.__init__"></a><div id="ImageServerHTTP.__init__-def"><a name="L10"></a><tt class="py-lineno">10</tt> <a class="py-toggle" href="#" id="ImageServerHTTP.__init__-toggle" onclick="return toggle('ImageServerHTTP.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#__init__">__init__</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">ctrl</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ImageServerHTTP.__init__-expanded"><a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line">        <tt class="py-name">threading</tt><tt class="py-op">.</tt><tt class="py-name">Thread</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Method chimera.controllers.autofocus.Autofocus.__init__()=chimera.controllers.autofocus.Autofocus-class.html#__init__,Method chimera.controllers.autofocus.FocusFit.__init__()=chimera.controllers.autofocus.FocusFit-class.html#__init__,Method chimera.controllers.console.command.Command.__init__()=chimera.controllers.console.command.Command-class.html#__init__,Method chimera.controllers.console.command.HighLevelCommand.__init__()=chimera.controllers.console.command.HighLevelCommand-class.html#__init__,Method chimera.controllers.console.commander.Commander.__init__()=chimera.controllers.console.commander.Commander-class.html#__init__,Method chimera.controllers.console.commands.alias.AliasCommand.__init__()=chimera.controllers.console.commands.alias.AliasCommand-class.html#__init__,Method chimera.controllers.console.commands.object.ObjectCommand.__init__()=chimera.controllers.console.commands.object.ObjectCommand-class.html#__init__,Method chimera.controllers.console.commands.quit.QuitCommand.__init__()=chimera.controllers.console.commands.quit.QuitCommand-class.html#__init__,Method chimera.controllers.console.commands.site.SiteCommand.__init__()=chimera.controllers.console.commands.site.SiteCommand-class.html#__init__,Method chimera.controllers.console.commands.unalias.UnaliasCommand.__init__()=chimera.controllers.console.commands.unalias.UnaliasCommand-class.html#__init__,Method chimera.controllers.console.console.Console.__init__()=chimera.controllers.console.console.Console-class.html#__init__,Method chimera.controllers.console.controller._ConsoleControllerSingleton.__init__()=chimera.controllers.console.controller._ConsoleControllerSingleton-class.html#__init__,Method chimera.controllers.console.message.Config.__init__()=chimera.controllers.console.message.Config-class.html#__init__,Method chimera.controllers.console.message.Error.__init__()=chimera.controllers.console.message.Error-class.html#__init__,Method chimera.controllers.console.message.Hint.__init__()=chimera.controllers.console.message.Hint-class.html#__init__,Method chimera.controllers.console.message.Message.__init__()=chimera.controllers.console.message.Message-class.html#__init__,Method chimera.controllers.console.namespace.Namespace.__init__()=chimera.controllers.console.namespace.Namespace-class.html#__init__,Method chimera.controllers.extinction.Extinction.__init__()=chimera.controllers.extinction.Extinction-class.html#__init__,Method chimera.controllers.imageserver.imagerequest.ImageRequest.__init__()=chimera.controllers.imageserver.imagerequest.ImageRequest-class.html#__init__,Method chimera.controllers.imageserver.imageserver.ImageServer.__init__()=chimera.controllers.imageserver.imageserver.ImageServer-class.html#__init__,Method chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.__init__()=chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#__init__,Method chimera.controllers.pointverify.PointVerify.__init__()=chimera.controllers.pointverify.PointVerify-class.html#__init__,Method chimera.controllers.reduction.calibration.Calibration.__init__()=chimera.controllers.reduction.calibration.Calibration-class.html#__init__,Method chimera.controllers.reduction.chimera_pipe.Reduction.__init__()=chimera.controllers.reduction.chimera_pipe.Reduction-class.html#__init__,Method chimera.controllers.scheduler.constraints.Constraints.__init__()=chimera.controllers.scheduler.constraints.Constraints-class.html#__init__,Method chimera.controllers.scheduler.constraints.IConstraint.__init__()=chimera.controllers.scheduler.constraints.IConstraint-class.html#__init__,Method chimera.controllers.scheduler.controller.Controller.__init__()=chimera.controllers.scheduler.controller.Controller-class.html#__init__,Method chimera.controllers.scheduler.machine.Machine.__init__()=chimera.controllers.scheduler.machine.Machine-class.html#__init__,Method chimera.controllers.scheduler.sequential.SequentialScheduler.__init__()=chimera.controllers.scheduler.sequential.SequentialScheduler-class.html#__init__,Method chimera.controllers.site.main.SiteController.__init__()=chimera.controllers.site.main.SiteController-class.html#__init__,Method chimera.controllers.xephem.XEphem.__init__()=chimera.controllers.xephem.XEphem-class.html#__init__,Method chimera.controllers.xmlrpc.ChimeraXMLDispatcher.__init__()=chimera.controllers.xmlrpc.ChimeraXMLDispatcher-class.html#__init__,Method chimera.controllers.xmlrpc.ThreadingXMLRPCServer.__init__()=chimera.controllers.xmlrpc.ThreadingXMLRPCServer-class.html#__init__,Method chimera.controllers.xmlrpc.XMLRPC.__init__()=chimera.controllers.xmlrpc.XMLRPC-class.html#__init__,Method chimera.controllers.xmlrpc.serverThread.__init__()=chimera.controllers.xmlrpc.serverThread-class.html#__init__,Method chimera.core.async.BeginDispatcher.__init__()=chimera.core.async.BeginDispatcher-class.html#__init__,Method chimera.core.async.EndDispatcher.__init__()=chimera.core.async.EndDispatcher-class.html#__init__,Method chimera.core.chimeraobject.ChimeraObject.__init__()=chimera.core.chimeraobject.ChimeraObject-class.html#__init__,Method chimera.core.classloader.ClassLoader.__init__()=chimera.core.classloader.ClassLoader-class.html#__init__,Method chimera.core.cli.CLIValues.__init__()=chimera.core.cli.CLIValues-class.html#__init__,Method chimera.core.cli.ChimeraCLI.__init__()=chimera.core.cli.ChimeraCLI-class.html#__init__,Method chimera.core.cli.Option.__init__()=chimera.core.cli.Option-class.html#__init__,Method chimera.core.config.BoolChecker.__init__()=chimera.core.config.BoolChecker-class.html#__init__,Method chimera.core.config.Config.__init__()=chimera.core.config.Config-class.html#__init__,Method chimera.core.config.CoordChecker.__init__()=chimera.core.config.CoordChecker-class.html#__init__,Method chimera.core.config.CoordOption.__init__()=chimera.core.config.CoordOption-class.html#__init__,Method chimera.core.config.EnumChecker.__init__()=chimera.core.config.EnumChecker-class.html#__init__,Method chimera.core.config.FloatChecker.__init__()=chimera.core.config.FloatChecker-class.html#__init__,Method chimera.core.config.IgnoreChecker.__init__()=chimera.core.config.IgnoreChecker-class.html#__init__,Method chimera.core.config.IntChecker.__init__()=chimera.core.config.IntChecker-class.html#__init__,Method chimera.core.config.Option.__init__()=chimera.core.config.Option-class.html#__init__,Method chimera.core.config.OptionsChecker.__init__()=chimera.core.config.OptionsChecker-class.html#__init__,Method chimera.core.config.RangeChecker.__init__()=chimera.core.config.RangeChecker-class.html#__init__,Method chimera.core.config.StringChecker.__init__()=chimera.core.config.StringChecker-class.html#__init__,Method chimera.core.eventsproxy.EventsProxy.__init__()=chimera.core.eventsproxy.EventsProxy-class.html#__init__,Method chimera.core.eventwrapper.EventWrapperDispatcher.__init__()=chimera.core.eventwrapper.EventWrapperDispatcher-class.html#__init__,Method chimera.core.exceptions.ChimeraException.__init__()=chimera.core.exceptions.ChimeraException-class.html#__init__,Method chimera.core.location.Location.__init__()=chimera.core.location.Location-class.html#__init__,Method chimera.core.lockwrapper.LockWrapper.__init__()=chimera.core.lockwrapper.LockWrapper-class.html#__init__,Method chimera.core.lockwrapper.LockWrapperDispatcher.__init__()=chimera.core.lockwrapper.LockWrapperDispatcher-class.html#__init__,Method chimera.core.log.ChimeraFormatter.__init__()=chimera.core.log.ChimeraFormatter-class.html#__init__,Method chimera.core.manager.Manager.__init__()=chimera.core.manager.Manager-class.html#__init__,Method chimera.core.manager.ManagerAdapter.__init__()=chimera.core.manager.ManagerAdapter-class.html#__init__,Method chimera.core.managerbeacon.ManagerBeacon.__init__()=chimera.core.managerbeacon.ManagerBeacon-class.html#__init__,Method chimera.core.methodwrapper.MethodWrapper.__init__()=chimera.core.methodwrapper.MethodWrapper-class.html#__init__,Method chimera.core.methodwrapper.MethodWrapperDispatcher.__init__()=chimera.core.methodwrapper.MethodWrapperDispatcher-class.html#__init__,Method chimera.core.monitor.Monitor.__init__()=chimera.core.monitor.Monitor-class.html#__init__,Method chimera.core.proxy.Proxy.__init__()=chimera.core.proxy.Proxy-class.html#__init__,Method chimera.core.proxy.ProxyMethod.__init__()=chimera.core.proxy.ProxyMethod-class.html#__init__,Method chimera.core.remoteobject.RemoteObject.__init__()=chimera.core.remoteobject.RemoteObject-class.html#__init__,Method chimera.core.resources.Resource.__init__()=chimera.core.resources.Resource-class.html#__init__,Method chimera.core.resources.ResourcesManager.__init__()=chimera.core.resources.ResourcesManager-class.html#__init__,Method chimera.core.rwlock.ReadWriteLock.__init__()=chimera.core.rwlock.ReadWriteLock-class.html#__init__,Method chimera.core.site.AstroDate.__init__()=chimera.core.site.AstroDate-class.html#__init__,Method chimera.core.site.Site.__init__()=chimera.core.site.Site-class.html#__init__,Method chimera.core.systemconfig.SystemConfig.__init__()=chimera.core.systemconfig.SystemConfig-class.html#__init__,Method chimera.core.tests.managerhelper.ManagerHelper.__init__()=chimera.core.tests.managerhelper.ManagerHelper-class.html#__init__,Method chimera.core.tests.managerhelperwitherror.ManagerHelperWithError.__init__()=chimera.core.tests.managerhelperwitherror.ManagerHelperWithError-class.html#__init__,Method chimera.core.tests.managerhelperwithinitexception.ManagerHelperWithInitException.__init__()=chimera.core.tests.managerhelperwithinitexception.ManagerHelperWithInitException-class.html#__init__,Method chimera.core.tests.managerhelperwithmainexception.ManagerHelperWithMainException.__init__()=chimera.core.tests.managerhelperwithmainexception.ManagerHelperWithMainException-class.html#__init__,Method chimera.core.tests.managerhelperwithstartexception.ManagerHelperWithStartException.__init__()=chimera.core.tests.managerhelperwithstartexception.ManagerHelperWithStartException-class.html#__init__,Method chimera.core.tests.managerhelperwithstopexception.ManagerHelperWithStopException.__init__()=chimera.core.tests.managerhelperwithstopexception.ManagerHelperWithStopException-class.html#__init__,Method chimera.core.tests.test_events.Publisher.__init__()=chimera.core.tests.test_events.Publisher-class.html#__init__,Method chimera.core.tests.test_events.Subscriber.__init__()=chimera.core.tests.test_events.Subscriber-class.html#__init__,Method chimera.core.tests.test_manager.Simple.__init__()=chimera.core.tests.test_manager.Simple-class.html#__init__,Method chimera.core.tests.test_resources.TestResources.__init__()=chimera.core.tests.test_resources.TestResources-class.html#__init__,Method chimera.core.threads.ThreadPool.__init__()=chimera.core.threads.ThreadPool-class.html#__init__,Method chimera.core.threads.ThreadPoolThread.__init__()=chimera.core.threads.ThreadPoolThread-class.html#__init__,Method chimera.drivers.domelna40cm.DomeLNA40cm.__init__()=chimera.drivers.domelna40cm.DomeLNA40cm-class.html#__init__,Method chimera.drivers.fakecamera.FakeCamera.__init__()=chimera.drivers.fakecamera.FakeCamera-class.html#__init__,Method chimera.drivers.fakedome.FakeDome.__init__()=chimera.drivers.fakedome.FakeDome-class.html#__init__,Method chimera.drivers.fakefilterwheel.FakeFilterWheel.__init__()=chimera.drivers.fakefilterwheel.FakeFilterWheel-class.html#__init__,Method chimera.drivers.fakefocuser.FakeFocuser.__init__()=chimera.drivers.fakefocuser.FakeFocuser-class.html#__init__,Method chimera.drivers.faketelescope.FakeTelescope.__init__()=chimera.drivers.faketelescope.FakeTelescope-class.html#__init__,Method chimera.drivers.meade.Meade.__init__()=chimera.drivers.meade.Meade-class.html#__init__,Method chimera.drivers.optectcfs.OptecTCFS.__init__()=chimera.drivers.optectcfs.OptecTCFS-class.html#__init__,Method chimera.drivers.remoteclient.RemoteClient.__init__()=chimera.drivers.remoteclient.RemoteClient-class.html#__init__,Method chimera.drivers.remoteclient.RemoteMethodWrapper.__init__()=chimera.drivers.remoteclient.RemoteMethodWrapper-class.html#__init__,Method chimera.drivers.sbig.sbig.SBIG.__init__()=chimera.drivers.sbig.sbig.SBIG-class.html#__init__,Method chimera.drivers.sbig.sbigdrv.ReadoutMode.__init__()=chimera.drivers.sbig.sbigdrv.ReadoutMode-class.html#__init__,Method chimera.drivers.sbig.sbigdrv.SBIGDrv.__init__()=chimera.drivers.sbig.sbigdrv.SBIGDrv-class.html#__init__,Method chimera.drivers.sbig.sbigdrv.SBIGException.__init__()=chimera.drivers.sbig.sbigdrv.SBIGException-class.html#__init__,Method chimera.drivers.theskytelescope.TheSkyTelescope.__init__()=chimera.drivers.theskytelescope.TheSkyTelescope-class.html#__init__,Method chimera.instruments.camera.Camera.__init__()=chimera.instruments.camera.Camera-class.html#__init__,Method chimera.instruments.dome.Dome.__init__()=chimera.instruments.dome.Dome-class.html#__init__,Method chimera.instruments.filterwheel.FilterWheel.__init__()=chimera.instruments.filterwheel.FilterWheel-class.html#__init__,Method chimera.instruments.focuser.Focuser.__init__()=chimera.instruments.focuser.Focuser-class.html#__init__,Method chimera.instruments.telescope.Telescope.__init__()=chimera.instruments.telescope.Telescope-class.html#__init__,Method chimera.interfaces.lifecycle.ILifeCycle.__init__()=chimera.interfaces.lifecycle.ILifeCycle-class.html#__init__,Method chimera.util.catalogs.landolt.Landolt.__init__()=chimera.util.catalogs.landolt.Landolt-class.html#__init__,Method chimera.util.catalogs.ppm.PPM.__init__()=chimera.util.catalogs.ppm.PPM-class.html#__init__,Method chimera.util.catalogs.ucac2.UCAC2.__init__()=chimera.util.catalogs.ucac2.UCAC2-class.html#__init__,Method chimera.util.coord.Coord.__init__()=chimera.util.coord.Coord-class.html#__init__,Method chimera.util.ds9.DS9.__init__()=chimera.util.ds9.DS9-class.html#__init__,Method chimera.util.etree.ElementPath.Path.__init__()=chimera.util.etree.ElementPath.Path-class.html#__init__,Method chimera.util.etree.ElementTree.ElementTree.__init__()=chimera.util.etree.ElementTree.ElementTree-class.html#__init__,Method chimera.util.etree.ElementTree.QName.__init__()=chimera.util.etree.ElementTree.QName-class.html#__init__,Method chimera.util.etree.ElementTree.TreeBuilder.__init__()=chimera.util.etree.ElementTree.TreeBuilder-class.html#__init__,Method chimera.util.etree.ElementTree.XMLTreeBuilder.__init__()=chimera.util.etree.ElementTree.XMLTreeBuilder-class.html#__init__,Method chimera.util.etree.ElementTree._ElementInterface.__init__()=chimera.util.etree.ElementTree._ElementInterface-class.html#__init__,Method chimera.util.etree.ElementTree._iterparse.__init__()=chimera.util.etree.ElementTree._iterparse-class.html#__init__,Method chimera.util.filenamesequence.FilenameSequence.__init__()=chimera.util.filenamesequence.FilenameSequence-class.html#__init__,Method chimera.util.image.Image.__init__()=chimera.util.image.Image-class.html#__init__,Method chimera.util.position.Position.__init__()=chimera.util.position.Position-class.html#__init__,Method chimera.util.sexcatalog.SExtractorfile.__init__()=chimera.util.sexcatalog.SExtractorfile-class.html#__init__,Method chimera.util.sextractor.SExtractor.__init__()=chimera.util.sextractor.SExtractor-class.html#__init__,Method chimera.util.simbad.Simbad.__init__()=chimera.util.simbad.Simbad-class.html#__init__,Method chimera.util.telescopelimits.TelescopeLimits.__init__()=chimera.util.telescopelimits.TelescopeLimits-class.html#__init__,Method chimera.util.vizquery.VizQuery.__init__()=chimera.util.vizquery.VizQuery-class.html#__init__,Method chimera.util.votable.VONode.__init__()=chimera.util.votable.VONode-class.html#__init__,Method chimera.util.votable.VOTable.__init__()=chimera.util.votable.VOTable-class.html#__init__,Method chimera.util.votable.VOTableHandler.__init__()=chimera.util.votable.VOTableHandler-class.html#__init__"><a title="chimera.controllers.autofocus.Autofocus.__init__
chimera.controllers.autofocus.FocusFit.__init__
chimera.controllers.console.command.Command.__init__
chimera.controllers.console.command.HighLevelCommand.__init__
chimera.controllers.console.commander.Commander.__init__
chimera.controllers.console.commands.alias.AliasCommand.__init__
chimera.controllers.console.commands.object.ObjectCommand.__init__
chimera.controllers.console.commands.quit.QuitCommand.__init__
chimera.controllers.console.commands.site.SiteCommand.__init__
chimera.controllers.console.commands.unalias.UnaliasCommand.__init__
chimera.controllers.console.console.Console.__init__
chimera.controllers.console.controller._ConsoleControllerSingleton.__init__
chimera.controllers.console.message.Config.__init__
chimera.controllers.console.message.Error.__init__
chimera.controllers.console.message.Hint.__init__
chimera.controllers.console.message.Message.__init__
chimera.controllers.console.namespace.Namespace.__init__
chimera.controllers.extinction.Extinction.__init__
chimera.controllers.imageserver.imagerequest.ImageRequest.__init__
chimera.controllers.imageserver.imageserver.ImageServer.__init__
chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.__init__
chimera.controllers.pointverify.PointVerify.__init__
chimera.controllers.reduction.calibration.Calibration.__init__
chimera.controllers.reduction.chimera_pipe.Reduction.__init__
chimera.controllers.scheduler.constraints.Constraints.__init__
chimera.controllers.scheduler.constraints.IConstraint.__init__
chimera.controllers.scheduler.controller.Controller.__init__
chimera.controllers.scheduler.machine.Machine.__init__
chimera.controllers.scheduler.sequential.SequentialScheduler.__init__
chimera.controllers.site.main.SiteController.__init__
chimera.controllers.xephem.XEphem.__init__
chimera.controllers.xmlrpc.ChimeraXMLDispatcher.__init__
chimera.controllers.xmlrpc.ThreadingXMLRPCServer.__init__
chimera.controllers.xmlrpc.XMLRPC.__init__
chimera.controllers.xmlrpc.serverThread.__init__
chimera.core.async.BeginDispatcher.__init__
chimera.core.async.EndDispatcher.__init__
chimera.core.chimeraobject.ChimeraObject.__init__
chimera.core.classloader.ClassLoader.__init__
chimera.core.cli.CLIValues.__init__
chimera.core.cli.ChimeraCLI.__init__
chimera.core.cli.Option.__init__
chimera.core.config.BoolChecker.__init__
chimera.core.config.Config.__init__
chimera.core.config.CoordChecker.__init__
chimera.core.config.CoordOption.__init__
chimera.core.config.EnumChecker.__init__
chimera.core.config.FloatChecker.__init__
chimera.core.config.IgnoreChecker.__init__
chimera.core.config.IntChecker.__init__
chimera.core.config.Option.__init__
chimera.core.config.OptionsChecker.__init__
chimera.core.config.RangeChecker.__init__
chimera.core.config.StringChecker.__init__
chimera.core.eventsproxy.EventsProxy.__init__
chimera.core.eventwrapper.EventWrapperDispatcher.__init__
chimera.core.exceptions.ChimeraException.__init__
chimera.core.location.Location.__init__
chimera.core.lockwrapper.LockWrapper.__init__
chimera.core.lockwrapper.LockWrapperDispatcher.__init__
chimera.core.log.ChimeraFormatter.__init__
chimera.core.manager.Manager.__init__
chimera.core.manager.ManagerAdapter.__init__
chimera.core.managerbeacon.ManagerBeacon.__init__
chimera.core.methodwrapper.MethodWrapper.__init__
chimera.core.methodwrapper.MethodWrapperDispatcher.__init__
chimera.core.monitor.Monitor.__init__
chimera.core.proxy.Proxy.__init__
chimera.core.proxy.ProxyMethod.__init__
chimera.core.remoteobject.RemoteObject.__init__
chimera.core.resources.Resource.__init__
chimera.core.resources.ResourcesManager.__init__
chimera.core.rwlock.ReadWriteLock.__init__
chimera.core.site.AstroDate.__init__
chimera.core.site.Site.__init__
chimera.core.systemconfig.SystemConfig.__init__
chimera.core.tests.managerhelper.ManagerHelper.__init__
chimera.core.tests.managerhelperwitherror.ManagerHelperWithError.__init__
chimera.core.tests.managerhelperwithinitexception.ManagerHelperWithInitException.__init__
chimera.core.tests.managerhelperwithmainexception.ManagerHelperWithMainException.__init__
chimera.core.tests.managerhelperwithstartexception.ManagerHelperWithStartException.__init__
chimera.core.tests.managerhelperwithstopexception.ManagerHelperWithStopException.__init__
chimera.core.tests.test_events.Publisher.__init__
chimera.core.tests.test_events.Subscriber.__init__
chimera.core.tests.test_manager.Simple.__init__
chimera.core.tests.test_resources.TestResources.__init__
chimera.core.threads.ThreadPool.__init__
chimera.core.threads.ThreadPoolThread.__init__
chimera.drivers.domelna40cm.DomeLNA40cm.__init__
chimera.drivers.fakecamera.FakeCamera.__init__
chimera.drivers.fakedome.FakeDome.__init__
chimera.drivers.fakefilterwheel.FakeFilterWheel.__init__
chimera.drivers.fakefocuser.FakeFocuser.__init__
chimera.drivers.faketelescope.FakeTelescope.__init__
chimera.drivers.meade.Meade.__init__
chimera.drivers.optectcfs.OptecTCFS.__init__
chimera.drivers.remoteclient.RemoteClient.__init__
chimera.drivers.remoteclient.RemoteMethodWrapper.__init__
chimera.drivers.sbig.sbig.SBIG.__init__
chimera.drivers.sbig.sbigdrv.ReadoutMode.__init__
chimera.drivers.sbig.sbigdrv.SBIGDrv.__init__
chimera.drivers.sbig.sbigdrv.SBIGException.__init__
chimera.drivers.theskytelescope.TheSkyTelescope.__init__
chimera.instruments.camera.Camera.__init__
chimera.instruments.dome.Dome.__init__
chimera.instruments.filterwheel.FilterWheel.__init__
chimera.instruments.focuser.Focuser.__init__
chimera.instruments.telescope.Telescope.__init__
chimera.interfaces.lifecycle.ILifeCycle.__init__
chimera.util.catalogs.landolt.Landolt.__init__
chimera.util.catalogs.ppm.PPM.__init__
chimera.util.catalogs.ucac2.UCAC2.__init__
chimera.util.coord.Coord.__init__
chimera.util.ds9.DS9.__init__
chimera.util.etree.ElementPath.Path.__init__
chimera.util.etree.ElementTree.ElementTree.__init__
chimera.util.etree.ElementTree.QName.__init__
chimera.util.etree.ElementTree.TreeBuilder.__init__
chimera.util.etree.ElementTree.XMLTreeBuilder.__init__
chimera.util.etree.ElementTree._ElementInterface.__init__
chimera.util.etree.ElementTree._iterparse.__init__
chimera.util.filenamesequence.FilenameSequence.__init__
chimera.util.image.Image.__init__
chimera.util.position.Position.__init__
chimera.util.sexcatalog.SExtractorfile.__init__
chimera.util.sextractor.SExtractor.__init__
chimera.util.simbad.Simbad.__init__
chimera.util.telescopelimits.TelescopeLimits.__init__
chimera.util.vizquery.VizQuery.__init__
chimera.util.votable.VONode.__init__
chimera.util.votable.VOTable.__init__
chimera.util.votable.VOTableHandler.__init__" class="py-name" href="#" onclick="return doclink('link-0', '__init__', 'link-0');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">setDaemon</tt><tt class="py-op">(</tt><tt id="link-1" class="py-name" targets="Variable chimera.core.threads.True=chimera.core.threads-module.html#True"><a title="chimera.core.threads.True" class="py-name" href="#" onclick="return doclink('link-1', 'True', 'link-1');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">setName</tt><tt class="py-op">(</tt><tt class="py-string">"Image Server HTTPD"</tt><tt class="py-op">)</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ctrl</tt> <tt class="py-op">=</tt> <tt class="py-name">ctrl</tt> </tt>
</div><a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"> </tt>
<a name="ImageServerHTTP.run"></a><div id="ImageServerHTTP.run-def"><a name="L16"></a><tt class="py-lineno">16</tt> <a class="py-toggle" href="#" id="ImageServerHTTP.run-toggle" onclick="return toggle('ImageServerHTTP.run');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#run">run</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP.run-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ImageServerHTTP.run-expanded"><a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line">        <tt class="py-comment"># uses Chimera's log system</tt> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">cherrypy</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method chimera.controllers.autofocus.FocusFit.log()=chimera.controllers.autofocus.FocusFit-class.html#log,Variable chimera.controllers.imageserver.imagerequest.log=chimera.controllers.imageserver.imagerequest-module.html#log,Variable chimera.controllers.scheduler.machine.log=chimera.controllers.scheduler.machine-module.html#log,Variable chimera.controllers.scheduler.sequential.log=chimera.controllers.scheduler.sequential-module.html#log,Variable chimera.controllers.site.main.log=chimera.controllers.site.main-module.html#log,Variable chimera.core.config.log=chimera.core.config-module.html#log,Variable chimera.core.eventsproxy.log=chimera.core.eventsproxy-module.html#log,Variable chimera.core.location.log=chimera.core.location-module.html#log,Variable chimera.core.lockwrapper.log=chimera.core.lockwrapper-module.html#log,Module chimera.core.log=chimera.core.log-module.html,Variable chimera.core.manager.log=chimera.core.manager-module.html#log,Variable chimera.core.methodwrapper.log=chimera.core.methodwrapper-module.html#log,Variable chimera.core.proxy.log=chimera.core.proxy-module.html#log,Variable chimera.core.systemconfig.log=chimera.core.systemconfig-module.html#log,Variable chimera.core.tests.test_log.log=chimera.core.tests.test_log-module.html#log,Variable chimera.core.threads.log=chimera.core.threads-module.html#log,Variable chimera.drivers.sbig.sbigdrv.log=chimera.drivers.sbig.sbigdrv-module.html#log,Variable chimera.drivers.tests.test_meade.log=chimera.drivers.tests.test_meade-module.html#log,Variable chimera.drivers.theskytelescope.log=chimera.drivers.theskytelescope-module.html#log,Variable chimera.instruments.tests.test_camera.log=chimera.instruments.tests.test_camera-module.html#log,Variable chimera.util.astrometrynet.log=chimera.util.astrometrynet-module.html#log,Variable chimera.util.image.log=chimera.util.image-module.html#log"><a title="chimera.controllers.autofocus.FocusFit.log
chimera.controllers.imageserver.imagerequest.log
chimera.controllers.scheduler.machine.log
chimera.controllers.scheduler.sequential.log
chimera.controllers.site.main.log
chimera.core.config.log
chimera.core.eventsproxy.log
chimera.core.location.log
chimera.core.lockwrapper.log
chimera.core.log
chimera.core.manager.log
chimera.core.methodwrapper.log
chimera.core.proxy.log
chimera.core.systemconfig.log
chimera.core.tests.test_log.log
chimera.core.threads.log
chimera.drivers.sbig.sbigdrv.log
chimera.drivers.tests.test_meade.log
chimera.drivers.theskytelescope.log
chimera.instruments.tests.test_camera.log
chimera.util.astrometrynet.log
chimera.util.image.log" class="py-name" href="#" onclick="return doclink('link-2', 'log', 'link-2');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">screen</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name" targets="Variable chimera.core.threads.False=chimera.core.threads-module.html#False"><a title="chimera.core.threads.False" class="py-name" href="#" onclick="return doclink('link-3', 'False', 'link-3');">False</a></tt> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">handler</tt> <tt class="py-keyword">in</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-string">"chimera"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">handlers</tt><tt class="py-op">:</tt> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line">            <tt class="py-name">cherrypy</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="chimera.controllers.autofocus.FocusFit.log
chimera.controllers.imageserver.imagerequest.log
chimera.controllers.scheduler.machine.log
chimera.controllers.scheduler.sequential.log
chimera.controllers.site.main.log
chimera.core.config.log
chimera.core.eventsproxy.log
chimera.core.location.log
chimera.core.lockwrapper.log
chimera.core.log
chimera.core.manager.log
chimera.core.methodwrapper.log
chimera.core.proxy.log
chimera.core.systemconfig.log
chimera.core.tests.test_log.log
chimera.core.threads.log
chimera.drivers.sbig.sbigdrv.log
chimera.drivers.tests.test_meade.log
chimera.drivers.theskytelescope.log
chimera.instruments.tests.test_camera.log
chimera.util.astrometrynet.log
chimera.util.image.log" class="py-name" href="#" onclick="return doclink('link-4', 'log', 'link-2');">log</a></tt><tt class="py-op">.</tt><tt class="py-name">error_log</tt><tt class="py-op">.</tt><tt class="py-name">addHandler</tt><tt class="py-op">(</tt><tt class="py-name">handler</tt><tt class="py-op">)</tt> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line">         </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line">        <tt class="py-name">cherrypy</tt><tt class="py-op">.</tt><tt class="py-name">quickstart</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-string">"chimera"</tt><tt class="py-op">,</tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line">                            <tt id="link-5" class="py-name" targets="Module chimera.core.config=chimera.core.config-module.html,Variable chimera.core.location.Location.config=chimera.core.location.Location-class.html#config"><a title="chimera.core.config
chimera.core.location.Location.config" class="py-name" href="#" onclick="return doclink('link-5', 'config', 'link-5');">config</a></tt><tt class="py-op">=</tt><tt class="py-op">{</tt><tt class="py-string">"chimera"</tt><tt class="py-op">:</tt> <tt class="py-op">{</tt><tt class="py-string">"server.socket_port"</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ctrl</tt><tt class="py-op">[</tt><tt class="py-string">'http_port'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line">                                                <tt class="py-string">"server.socket_host"</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ctrl</tt><tt class="py-op">[</tt><tt class="py-string">'http_host'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line">                                                <tt class="py-string">"tools.encode.on"</tt><tt class="py-op">:</tt> <tt id="link-6" class="py-name"><a title="chimera.core.threads.True" class="py-name" href="#" onclick="return doclink('link-6', 'True', 'link-1');">True</a></tt><tt class="py-op">,</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line">                                                <tt class="py-string">"tools.encode.encoding"</tt><tt class="py-op">:</tt> <tt class="py-string">"iso-8859-1"</tt><tt class="py-op">,</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line">                                                <tt class="py-string">"tools.decode.on"</tt><tt class="py-op">:</tt> <tt id="link-7" class="py-name"><a title="chimera.core.threads.True" class="py-name" href="#" onclick="return doclink('link-7', 'True', 'link-1');">True</a></tt><tt class="py-op">,</tt> </tt>
<a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line">                                                <tt class="py-string">"tools.trailing_slash.on"</tt><tt class="py-op">:</tt> <tt id="link-8" class="py-name"><a title="chimera.core.threads.True" class="py-name" href="#" onclick="return doclink('link-8', 'True', 'link-1');">True</a></tt><tt class="py-op">,</tt> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">                                                <tt class="py-string">"engine.autoreload_on"</tt><tt class="py-op">:</tt> <tt id="link-9" class="py-name"><a title="chimera.core.threads.False" class="py-name" href="#" onclick="return doclink('link-9', 'False', 'link-3');">False</a></tt><tt class="py-op">}</tt><tt class="py-op">}</tt><tt class="py-op">)</tt> </tt>
</div><a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"> </tt>
<a name="ImageServerHTTP.stop"></a><div id="ImageServerHTTP.stop-def"><a name="L32"></a><tt class="py-lineno">32</tt> <a class="py-toggle" href="#" id="ImageServerHTTP.stop-toggle" onclick="return toggle('ImageServerHTTP.stop');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#stop">stop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP.stop-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ImageServerHTTP.stop-expanded"><a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line">        <tt class="py-name">cherrypy</tt><tt class="py-op">.</tt><tt class="py-name">engine</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.stop()=chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#stop,Method chimera.core.manager.Manager.stop()=chimera.core.manager.Manager-class.html#stop"><a title="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.stop
chimera.core.manager.Manager.stop" class="py-name" href="#" onclick="return doclink('link-10', 'stop', 'link-10');">stop</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line">                 </tt>
<a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">cherrypy</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method chimera.drivers.fakecamera.FakeCamera.expose()=chimera.drivers.fakecamera.FakeCamera-class.html#expose,Method chimera.drivers.sbig.sbig.SBIG.expose()=chimera.drivers.sbig.sbig.SBIG-class.html#expose,Method chimera.instruments.camera.Camera.expose()=chimera.instruments.camera.Camera-class.html#expose,Method chimera.interfaces.camera.ICameraExpose.expose()=chimera.interfaces.camera.ICameraExpose-class.html#expose,Method chimera.interfaces.cameradriver.ICameraDriver.expose()=chimera.interfaces.cameradriver.ICameraDriver-class.html#expose"><a title="chimera.drivers.fakecamera.FakeCamera.expose
chimera.drivers.sbig.sbig.SBIG.expose
chimera.instruments.camera.Camera.expose
chimera.interfaces.camera.ICameraExpose.expose
chimera.interfaces.cameradriver.ICameraDriver.expose" class="py-name" href="#" onclick="return doclink('link-11', 'expose', 'link-11');">expose</a></tt> </tt>
<a name="ImageServerHTTP.index"></a><div id="ImageServerHTTP.index-def"><a name="L37"></a><tt class="py-lineno">37</tt> <a class="py-toggle" href="#" id="ImageServerHTTP.index-toggle" onclick="return toggle('ImageServerHTTP.index');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#index">index</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP.index-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ImageServerHTTP.index-expanded"><a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">"All your images belong to us."</tt> </tt>
</div><a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line"> </tt>
<a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">cherrypy</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="chimera.drivers.fakecamera.FakeCamera.expose
chimera.drivers.sbig.sbig.SBIG.expose
chimera.instruments.camera.Camera.expose
chimera.interfaces.camera.ICameraExpose.expose
chimera.interfaces.cameradriver.ICameraDriver.expose" class="py-name" href="#" onclick="return doclink('link-12', 'expose', 'link-11');">expose</a></tt> </tt>
<a name="ImageServerHTTP.image"></a><div id="ImageServerHTTP.image-def"><a name="L41"></a><tt class="py-lineno">41</tt> <a class="py-toggle" href="#" id="ImageServerHTTP.image-toggle" onclick="return toggle('ImageServerHTTP.image');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#image">image</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP.image-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ImageServerHTTP.image-expanded"><a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">args</tt><tt class="py-op">:</tt> </tt>
<a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line"> </tt>
<a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line">            <tt id="link-13" class="py-name" targets="Variable chimera.drivers.sbig.tests.grab.img=chimera.drivers.sbig.tests.grab-module.html#img"><a title="chimera.drivers.sbig.tests.grab.img" class="py-name" href="#" onclick="return doclink('link-13', 'img', 'link-13');">img</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ctrl</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method chimera.controllers.imageserver.imageserver.ImageServer.getImageByID()=chimera.controllers.imageserver.imageserver.ImageServer-class.html#getImageByID"><a title="chimera.controllers.imageserver.imageserver.ImageServer.getImageByID" class="py-name" href="#" onclick="return doclink('link-14', 'getImageByID', 'link-14');">getImageByID</a></tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
<a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line"> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-15" class="py-name"><a title="chimera.drivers.sbig.tests.grab.img" class="py-name" href="#" onclick="return doclink('link-15', 'img', 'link-13');">img</a></tt><tt class="py-op">:</tt> </tt>
<a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-string">"Couldn't find the image."</tt> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">serve_file</tt><tt class="py-op">(</tt><tt id="link-16" class="py-name"><a title="chimera.drivers.sbig.tests.grab.img" class="py-name" href="#" onclick="return doclink('link-16', 'img', 'link-13');">img</a></tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Variable chimera.controllers.scheduler.model.Exposure.filename=chimera.controllers.scheduler.model.Exposure-class.html#filename,Variable chimera.util.image.Image.filename=chimera.util.image.Image-class.html#filename"><a title="chimera.controllers.scheduler.model.Exposure.filename
chimera.util.image.Image.filename" class="py-name" href="#" onclick="return doclink('link-17', 'filename', 'link-17');">filename</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">"image/fits"</tt><tt class="py-op">,</tt> <tt class="py-string">"attachment"</tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line"> </tt>
<a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">"What are you looking for?"</tt> </tt>
</div><a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line"> </tt>
<a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">cherrypy</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="chimera.drivers.fakecamera.FakeCamera.expose
chimera.drivers.sbig.sbig.SBIG.expose
chimera.instruments.camera.Camera.expose
chimera.interfaces.camera.ICameraExpose.expose
chimera.interfaces.cameradriver.ICameraDriver.expose" class="py-name" href="#" onclick="return doclink('link-18', 'expose', 'link-11');">expose</a></tt> </tt>
<a name="ImageServerHTTP.list"></a><div id="ImageServerHTTP.list-def"><a name="L54"></a><tt class="py-lineno">54</tt> <a class="py-toggle" href="#" id="ImageServerHTTP.list-toggle" onclick="return toggle('ImageServerHTTP.list');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#list">list</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kwargs</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ImageServerHTTP.list-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ImageServerHTTP.list-expanded"><a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">        <tt class="py-name">toReturn</tt> <tt class="py-op">=</tt> <tt class="py-string">'&lt;table&gt;&lt;tr&gt;&lt;th&gt;Image ID&lt;/th&gt;&lt;th&gt;Path&lt;/th&gt;&lt;/tr&gt;'</tt> </tt>
<a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line">        <tt id="link-19" class="py-name" targets="Method chimera.core.config.Config.keys()=chimera.core.config.Config-class.html#keys,Variable chimera.core.resources.ResourcesManager.keys=chimera.core.resources.ResourcesManager-class.html#keys,Method chimera.util.etree.ElementTree._ElementInterface.keys()=chimera.util.etree.ElementTree._ElementInterface-class.html#keys,Method chimera.util.image.Image.keys()=chimera.util.image.Image-class.html#keys,Method chimera.util.sexcatalog.SExtractorfile.keys()=chimera.util.sexcatalog.SExtractorfile-class.html#keys"><a title="chimera.core.config.Config.keys
chimera.core.resources.ResourcesManager.keys
chimera.util.etree.ElementTree._ElementInterface.keys
chimera.util.image.Image.keys
chimera.util.sexcatalog.SExtractorfile.keys" class="py-name" href="#" onclick="return doclink('link-19', 'keys', 'link-19');">keys</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ctrl</tt><tt class="py-op">.</tt><tt class="py-name">imagesByPath</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="chimera.core.config.Config.keys
chimera.core.resources.ResourcesManager.keys
chimera.util.etree.ElementTree._ElementInterface.keys
chimera.util.image.Image.keys
chimera.util.sexcatalog.SExtractorfile.keys" class="py-name" href="#" onclick="return doclink('link-20', 'keys', 'link-19');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line">        <tt id="link-21" class="py-name"><a title="chimera.core.config.Config.keys
chimera.core.resources.ResourcesManager.keys
chimera.util.etree.ElementTree._ElementInterface.keys
chimera.util.image.Image.keys
chimera.util.sexcatalog.SExtractorfile.keys" class="py-name" href="#" onclick="return doclink('link-21', 'keys', 'link-19');">keys</a></tt><tt class="py-op">.</tt><tt class="py-name">sort</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt id="link-22" class="py-name"><a title="chimera.core.config.Config.keys
chimera.core.resources.ResourcesManager.keys
chimera.util.etree.ElementTree._ElementInterface.keys
chimera.util.image.Image.keys
chimera.util.sexcatalog.SExtractorfile.keys" class="py-name" href="#" onclick="return doclink('link-22', 'keys', 'link-19');">keys</a></tt><tt class="py-op">:</tt> </tt>
<a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line">            <tt id="link-23" class="py-name" targets="Method chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.image()=chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#image,Module chimera.util.image=chimera.util.image-module.html"><a title="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.image
chimera.util.image" class="py-name" href="#" onclick="return doclink('link-23', 'image', 'link-23');">image</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">ctrl</tt><tt class="py-op">.</tt><tt class="py-name">imagesByPath</tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt> </tt>
<a name="L60"></a><tt class="py-lineno">60</tt>  <tt class="py-line">            <tt id="link-24" class="py-name" targets="Method chimera.util.ds9.DS9.id()=chimera.util.ds9.DS9-class.html#id"><a title="chimera.util.ds9.DS9.id" class="py-name" href="#" onclick="return doclink('link-24', 'id', 'link-24');">id</a></tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.image
chimera.util.image" class="py-name" href="#" onclick="return doclink('link-25', 'image', 'link-23');">image</a></tt><tt class="py-op">.</tt><tt class="py-name">GUID</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line">            <tt id="link-26" class="py-name" targets="Module chimera.core.path=chimera.core.path-module.html"><a title="chimera.core.path" class="py-name" href="#" onclick="return doclink('link-26', 'path', 'link-26');">path</a></tt> <tt class="py-op">=</tt> <tt id="link-27" class="py-name"><a title="chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.image
chimera.util.image" class="py-name" href="#" onclick="return doclink('link-27', 'image', 'link-23');">image</a></tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="chimera.controllers.scheduler.model.Exposure.filename
chimera.util.image.Image.filename" class="py-name" href="#" onclick="return doclink('link-28', 'filename', 'link-17');">filename</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line">            <tt class="py-name">toReturn</tt> <tt class="py-op">+=</tt> <tt class="py-op">(</tt><tt class="py-string">'&lt;tr&gt;&lt;td&gt;&lt;a href="/image/%s"&gt;%s&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="/image/%s"&gt;%s&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;'</tt> <tt class="py-op">%</tt> </tt>
<a name="L63"></a><tt class="py-lineno">63</tt>  <tt class="py-line">                         <tt class="py-op">(</tt><tt id="link-29" class="py-name"><a title="chimera.util.ds9.DS9.id" class="py-name" href="#" onclick="return doclink('link-29', 'id', 'link-24');">id</a></tt><tt class="py-op">,</tt><tt id="link-30" class="py-name"><a title="chimera.util.ds9.DS9.id" class="py-name" href="#" onclick="return doclink('link-30', 'id', 'link-24');">id</a></tt><tt class="py-op">,</tt><tt id="link-31" class="py-name"><a title="chimera.util.ds9.DS9.id" class="py-name" href="#" onclick="return doclink('link-31', 'id', 'link-24');">id</a></tt><tt class="py-op">,</tt><tt id="link-32" class="py-name"><a title="chimera.core.path" class="py-name" href="#" onclick="return doclink('link-32', 'path', 'link-26');">path</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">toReturn</tt> </tt>
</div></div><a name="L65"></a><tt class="py-lineno">65</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="chimera-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://chimera.ufsc.br/">Chimera - Observatoty Automation System</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    <a href="epydoc-log.html">Generated by Epydoc
    3.0beta1 on Sat Feb  7 18:36:56 2009</a>
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
